<?php
/**
 * 
 * @author dieplv2
 */
class chat_TestController extends SGN_Controller
{
    public function init()
    {
        
    }
    
    public function redisAction()
    {
        $note = new redis_myredis();
        
        $note->publish('second', 'hello');
        
//         $data = $note->subscribe('second');
        pr($data);
        
        $this->_helper->layout()->disableLayout();
        $this->_helper->viewRenderer->setNoRender(true);
    }
    
    public function socketAction()
    {
        
    }
    
    public function nodeAction()
    {
        
    }
}
